package it.javaweb.actions.utenti;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class CancellaUtenteController implements Controller {

	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
		String idUtente = request.getParameter( "idUtente" );
		if ( idUtente!=null ) {
			try {
				//Cancello l'utente
			} catch (Exception e) {
			}
		}
		return new ModelAndView( "redirect:/utenti/listaUtenti.html" );
	}

}
